//
//  GetOssTokenModel.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/10/23.
//

import UIKit
import ObjectMapper
class GetOssTokenModel:  Mappable {
    var code : String?
    var data : GetTokenDataModel?
    var msg : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}

class GetTokenDataModel:  Mappable {
    var accessKeyId : String?
    var accessKeySecret : String?
    var bucketName : String?
    var fileDir : String?
    var region : String?
    var securityToken : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        accessKeyId <- map["accessKeyId"]
        accessKeySecret <- map["accessKeySecret"]
        bucketName <- map["bucketName"]
        fileDir <- map["fileDir"]
        region <- map["region"]
        securityToken <- map["securityToken"]
    }
}
